<h1>EnableDebugger2</h1>

<p>Enables a movie to be debugged when played using the Flash authoring tool, 
allowing the variables defined in the arrays of actions specified in object to 
be inspected.</p>

<table>

<tr>
<th nowrap>Field Name</th>
<th>Type</th>
<th>Size</th>
<th>Description</th>
</tr>

<tr>
<td nowrap valign="top">type</td>
<td nowrap valign="top">unsigned bit</td>
<td nowrap valign="top" align="right">10</td>
<td>Identifies the EnableDebugger2 instruction when it is encoded. It is encoded 
with the length field as a 16-bit integer (Little-endian byte order).</td>
</tr>

<tr>
<td nowrap valign="top">length</td>
<td nowrap valign="top">unsigned bit</td>
<td nowrap valign="top" align="right">6</td>
<td>The length in bytes of the body of the instruction when it is encoded. Encoded with the type 
field as a 16-bit integer. If the length is greater than 62 bytes then this field
is set to 0x3F and the next field, extendedLength contains the length of the
body of the encoded instruction.</td>
</tr>

<tr>
<td nowrap valign="top">extendedLength</td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">32</td>
<td>Optional. Contains the length in bytes of the encoded instruction if it is
greater than 62 bytes. If the length is 62 bytes or less then this field is 
omitted.</td>
</tr>

<tr>
<td nowrap valign="top">reserved</td>
<td nowrap valign="top">unsigned int</td>
<td nowrap valign="top" align="right">16</td>
<td>This field is reserved and is typically set to zero.</td>
</tr>

<tr>
<td nowrap valign="top">password</td>
<td nowrap valign="top">String</td>
<td nowrap valign="top" align="right">&lt;n&gt;</td>
<td>An MD-5 encrypted password, presented in a null terminated string.</td>
</tr>

</table>

<p>In order to use the debugger a password must be supplied. When encrypted using 
the MD5 algorithm it must match the value stored in the password attribute.</p>

<h2>History</h2>

<p>EnableDebugger2 represents the EnableDebugger2 data structure introduced in 
Flash 6. It replaced EnableDebugger in Flash 5 with a different format to support 
internal changes in the Flash Player. The functionality was not changed.</p>
